Authenticating Users with HTML5 SDK |
|
You can authenticate the user using Process Platform HTML5 SDK by integrating with cordys.authentication plug-in. This plug-in displays the login page for authenticating the user. For information on getting started, refer to Getting Started with the SDK.
The Cordys.authentication plug-in (or any method using it) handles the authentication based on the following:
- Web Server (Windows Authentication or Basic Authentication)
- Process Platform SSO (Single Sign-On) implementation with cookies
Web Server
If the user is not yet authenticated and the authentication type is WebServer, the user is prompted for the credentials.
Process Platform SSO
If the cookies are not set before the authentication, the user is prompted for the credentials. When the login button is clicked, the cookies are set and the original page is displayed. The following login pages are available:
- Mobile Login: The mobile login page is based on jQuery and jQuery Mobile and it works on all the web-kit browsers where jQuery and jQuery Mobile are available.
- Standard Login: If any other UI library is used instead of jQuery and jQuery Mobile, you need to create another login page with different HTML (the javascript must remain unchanged) and specify the URL as described in the Customization section. Otherwise, it displays the standard login page.